<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html charset=utf-8"/>
        <title>First page</title>
    </head>
    <body>
        <style type="text/css">
            *{
                font-size: 14px;
            }
            .layout{
                width: 1080px;
                margin: 0 auto;
            }
            .header{
                background-color: dimgray;
            }
            .main{
                background-color: #ddd;
                padding: 0;
                margin: 0;
                border: 0;
                width: 1080px;
            }
            .footer{
                background-color: #999999;
            }
            .layout>.main>.left{
                background-color: black;
                color: #ffffff;
            }
            .workspace{
                border: 1px solid #666666;
                background-color: #ffffff;
                width: 70%;
                float: left;
                box-sizing: border-box;
            }
            #ws{
                border-width: 2px;
            }
            div{
                color: black;
            }
            .layout div{
                color: black;
            }
            .right{
                background-color: #ffffff;
                color: #ffffff;
            }
            .container{
                box-sizing: border-box;
                padding: 0;margin: 0;border: 0;
                display: table;
                width: 100%;
            }
            .container>.col-1,.container>.col-2,.container>.col-3,.container>.col-4{
                box-sizing: border-box;
                padding: 0;margin: 0;border: 0;
                display: table-cell;
            }
            .container>.col-1{
                width: 25%;
            }
            .container>.col-2{
                width: 50%;
            }
            .container>.col-3{
                width: 75%;
            }
            .container>.col-4{
                width: 100%;
            }

            .box{
                border: 1px solid black;
                width: 200px;
                height: 200px;
                padding: 5px;
                margin: 0;
                box-sizing: border-box;
            }
            p{
                background-color: dimgrey;
            }
            #myId{
                color: darkgray;
            }
            .myclass{
                border: 1px solid black;
            }
            div p span{
                font-size: 20px;
            }
            div>p{
                font-weight: bold;
            }
            div>p:hover{
                text-decoration: underline;
            }
        </style>
        <p class="myclass myclass1">我是p</p>

        <div>
            <p>我是第二个p</p>
            <form>
                <p>我是form里面的p</p>
            </form>
        </div>

        <p id="myId">第三个p</p>

        <div class="box">文本</div>

        <div class="layout">
            <div class="header container">
                <h1 class="col-3">我的博客</h1>
                <div class="col-1">Crow,退出</div>
            </div>
            <div class="main container">
                <div class="left col-1">左边部分</div>
                <div class="workspace col-2" id="ws">
                    <div class="container articles">
                        <div class="col-1 article"></div>
                    </div>
                    工作区
                </div>
                <div class="right col-1">右边部分</div>
            </div>
            <div class="footer">
                下面部分
            </div>
        </div>
    </body>
</html>